package cn.iocoder.yudao.module.ent.document.node;

import cn.iocoder.yudao.module.ent.document.BaseNode;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 经营异常 节点
 */

@Document(indexName = "node_abnormal")
@Data
public class NodeAbnormal extends BaseNode {

    //公司数据加密id
    @Field(name = "cid", type = FieldType.Keyword)
    private String cid;

    @Field(name = "create_time", type = FieldType.Text)
    private String createTime;

    @Field(name = "code", type = FieldType.Long)
    private Long code;

    //列入决定机关
    @Field(name = "authority", type = FieldType.Text)
    private String authority;

    //列入日期
    @Field(name = "enterDate", type = FieldType.Text)
    private String enterDate;

    //列入经营异常名录原因
    @Field(name = "enterReason", type = FieldType.Text)
    private String enterReason;

    //移出决定机关
    @Field(name = "leaveAuthority", type = FieldType.Text)
    private String leaveAuthority;

    //移出日期
    @Field(name = "leaveDate", type = FieldType.Text)
    private String leaveDate;

    //移出经营异常名录原因
    @Field(name = "leaveReason", type = FieldType.Text)
    private String leaveReason;


}
